﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace rbac.contracts.Dto.Output
{
    public class UserOutput
    {
        public int Id { get; set; }
        /// <summary>
        /// 用户账号
        /// </summary>
        public string? UserName { get; set; }
        public string? Password { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        public List<RoleOutput> roles { get; set; }

        /// <summary>
        /// 昵称
        /// </summary>
        public string? NickName { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string? Email { get; set; }
        [JsonIgnore]
        public DateTime? UpdatedTime { get; set; }
    }
}
